package com.lt.exam.Yao;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.exam.Yao
 * @ClassName Yao
 * @Description to do
 * @date 2021/12/13 19:11
 */
public class Yao {
    private double price = 0.0;
    private String description ="描述";

    public Yao(double price, String description) {
        this.price = price;
        this.description = description;
    }

    @Override
    public String toString() {
        return "Yao{" +
                "price=" + price +
                ", description='" + description + '\'' +
                '}';
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
